package com.jiangwz.springbootjwt.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jiangwz
 * @create 2019/10/24.
 */
@RequestMapping("/resource")
@RestController
public class ResourceController {

    @GetMapping("1")
    public Object resource1(){
        return "resource1";
    }
}
